﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace VM.Entity.EntityDto.People
{
    public class addPeopleInfoDto
    {
        #region Model
        private int? _id;
        private int? _typeid;
        private string? _name;
        private int? _sex;
        private DateTime? _birthday;
        private string? _address;
        private string? _schoolname;
        private string? _gradename;
        private int? _isdefault;
        private int? _createuserid;
        private DateTime? _createdate;
        private int? _updateuserid;
        private DateTime? _updatedate;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        [JsonIgnore]
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        [JsonIgnore]
        public int? billStatus { get; set; }

        /// <summary>
        /// 1  学生 2家长
        /// </summary>
        [JsonIgnore]
        public int? typeId
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string? name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 性别  
        /// </summary>
        [JsonIgnore]
        public int? sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 生日
        /// </summary>
        [JsonIgnore]
        public DateTime? birthDay
        {
            set { _birthday = value; }
            get { return _birthday; }
        }
        /// <summary>
        /// 地址
        /// </summary>
        [JsonIgnore]
        public string? address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 学校
        /// </summary>
        [JsonIgnore]
        public string? schoolName
        {
            set { _schoolname = value; }
            get { return _schoolname; }
        }
        /// <summary>
        /// 年级
        /// </summary>
        [JsonIgnore]
        public string? gradeName
        {
            set { _gradename = value; }
            get { return _gradename; }
        }
        /// <summary>
        /// 1 默认 0 非默认
        /// </summary>
        [JsonIgnore]
        public int? isDefault
        {
            set { _isdefault = value; }
            get { return _isdefault; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        [JsonIgnore]
        public int? createUserId
        {
            set { _createuserid = value; }
            get { return _createuserid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [JsonIgnore]
        public DateTime? createDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        [JsonIgnore]
        public int? updateUserId
        {
            set { _updateuserid = value; }
            get { return _updateuserid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [JsonIgnore]
        public DateTime? updateDate
        {
            set { _updatedate = value; }
            get { return _updatedate; }
        }

        /// <summary>
        /// 关系内码--选取数据字典
        /// </summary>
        [JsonIgnore]
        public int? RelationId { get; set; }
        /// <summary>
        /// 关系名称--当关系内码选择其他时，这个地方需要填内容
        /// </summary>
        [JsonIgnore]
        public string? RelationName { get; set; }


        /// <summary>
        /// 联系电话
        /// </summary>
        public string phone { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string idCard { get; set; }

        #endregion Model


    }
}
